package com.project.psc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.psc.bean.InviteBean;
import com.project.psc.bean.InviteSupplierBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

@Mapper
public interface IInviteMapper extends BaseMapper<InviteBean> {

    public IPage<InviteSupplierBean> cutByItem(Page pg, @Param("status")Integer status, @Param("title") String title,
                                               @Param("startDate") LocalDate startDate,@Param("endDate") LocalDate endDate,
                                               @Param("supplierId") Long supplierId);

}
